package com.qf.student.dao;

import com.qf.student.entity.Student;

import java.util.List;

/**
 * @version1.0
 * @auth dmh
 */
public interface IStudentDao {
    public int insert(Student student); //

    public int updateById(Student student); // 根据主键更新

    public Student selectById(Integer id); // 根据主键查询

    public int deleteById(Integer id);

    public List<Student> selectList();

    public Student selectByName(String name);
}
